package com.zhongwang.business.gen.entity;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class QuotationSublistExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public QuotationSublistExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andQttIdIsNull() {
            addCriterion("qtt_id is null");
            return (Criteria) this;
        }

        public Criteria andQttIdIsNotNull() {
            addCriterion("qtt_id is not null");
            return (Criteria) this;
        }

        public Criteria andQttIdEqualTo(Integer value) {
            addCriterion("qtt_id =", value, "qttId");
            return (Criteria) this;
        }

        public Criteria andQttIdNotEqualTo(Integer value) {
            addCriterion("qtt_id <>", value, "qttId");
            return (Criteria) this;
        }

        public Criteria andQttIdGreaterThan(Integer value) {
            addCriterion("qtt_id >", value, "qttId");
            return (Criteria) this;
        }

        public Criteria andQttIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("qtt_id >=", value, "qttId");
            return (Criteria) this;
        }

        public Criteria andQttIdLessThan(Integer value) {
            addCriterion("qtt_id <", value, "qttId");
            return (Criteria) this;
        }

        public Criteria andQttIdLessThanOrEqualTo(Integer value) {
            addCriterion("qtt_id <=", value, "qttId");
            return (Criteria) this;
        }

        public Criteria andQttIdIn(List<Integer> values) {
            addCriterion("qtt_id in", values, "qttId");
            return (Criteria) this;
        }

        public Criteria andQttIdNotIn(List<Integer> values) {
            addCriterion("qtt_id not in", values, "qttId");
            return (Criteria) this;
        }

        public Criteria andQttIdBetween(Integer value1, Integer value2) {
            addCriterion("qtt_id between", value1, value2, "qttId");
            return (Criteria) this;
        }

        public Criteria andQttIdNotBetween(Integer value1, Integer value2) {
            addCriterion("qtt_id not between", value1, value2, "qttId");
            return (Criteria) this;
        }

        public Criteria andQuoteIdIsNull() {
            addCriterion("quote_id is null");
            return (Criteria) this;
        }

        public Criteria andQuoteIdIsNotNull() {
            addCriterion("quote_id is not null");
            return (Criteria) this;
        }

        public Criteria andQuoteIdEqualTo(Integer value) {
            addCriterion("quote_id =", value, "quoteId");
            return (Criteria) this;
        }

        public Criteria andQuoteIdNotEqualTo(Integer value) {
            addCriterion("quote_id <>", value, "quoteId");
            return (Criteria) this;
        }

        public Criteria andQuoteIdGreaterThan(Integer value) {
            addCriterion("quote_id >", value, "quoteId");
            return (Criteria) this;
        }

        public Criteria andQuoteIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("quote_id >=", value, "quoteId");
            return (Criteria) this;
        }

        public Criteria andQuoteIdLessThan(Integer value) {
            addCriterion("quote_id <", value, "quoteId");
            return (Criteria) this;
        }

        public Criteria andQuoteIdLessThanOrEqualTo(Integer value) {
            addCriterion("quote_id <=", value, "quoteId");
            return (Criteria) this;
        }

        public Criteria andQuoteIdIn(List<Integer> values) {
            addCriterion("quote_id in", values, "quoteId");
            return (Criteria) this;
        }

        public Criteria andQuoteIdNotIn(List<Integer> values) {
            addCriterion("quote_id not in", values, "quoteId");
            return (Criteria) this;
        }

        public Criteria andQuoteIdBetween(Integer value1, Integer value2) {
            addCriterion("quote_id between", value1, value2, "quoteId");
            return (Criteria) this;
        }

        public Criteria andQuoteIdNotBetween(Integer value1, Integer value2) {
            addCriterion("quote_id not between", value1, value2, "quoteId");
            return (Criteria) this;
        }

        public Criteria andProNameIsNull() {
            addCriterion("pro_name is null");
            return (Criteria) this;
        }

        public Criteria andProNameIsNotNull() {
            addCriterion("pro_name is not null");
            return (Criteria) this;
        }

        public Criteria andProNameEqualTo(String value) {
            addCriterion("pro_name =", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameNotEqualTo(String value) {
            addCriterion("pro_name <>", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameGreaterThan(String value) {
            addCriterion("pro_name >", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameGreaterThanOrEqualTo(String value) {
            addCriterion("pro_name >=", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameLessThan(String value) {
            addCriterion("pro_name <", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameLessThanOrEqualTo(String value) {
            addCriterion("pro_name <=", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameLike(String value) {
            addCriterion("pro_name like", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameNotLike(String value) {
            addCriterion("pro_name not like", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameIn(List<String> values) {
            addCriterion("pro_name in", values, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameNotIn(List<String> values) {
            addCriterion("pro_name not in", values, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameBetween(String value1, String value2) {
            addCriterion("pro_name between", value1, value2, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameNotBetween(String value1, String value2) {
            addCriterion("pro_name not between", value1, value2, "proName");
            return (Criteria) this;
        }

        public Criteria andProTypeIsNull() {
            addCriterion("pro_type is null");
            return (Criteria) this;
        }

        public Criteria andProTypeIsNotNull() {
            addCriterion("pro_type is not null");
            return (Criteria) this;
        }

        public Criteria andProTypeEqualTo(String value) {
            addCriterion("pro_type =", value, "proType");
            return (Criteria) this;
        }

        public Criteria andProTypeNotEqualTo(String value) {
            addCriterion("pro_type <>", value, "proType");
            return (Criteria) this;
        }

        public Criteria andProTypeGreaterThan(String value) {
            addCriterion("pro_type >", value, "proType");
            return (Criteria) this;
        }

        public Criteria andProTypeGreaterThanOrEqualTo(String value) {
            addCriterion("pro_type >=", value, "proType");
            return (Criteria) this;
        }

        public Criteria andProTypeLessThan(String value) {
            addCriterion("pro_type <", value, "proType");
            return (Criteria) this;
        }

        public Criteria andProTypeLessThanOrEqualTo(String value) {
            addCriterion("pro_type <=", value, "proType");
            return (Criteria) this;
        }

        public Criteria andProTypeLike(String value) {
            addCriterion("pro_type like", value, "proType");
            return (Criteria) this;
        }

        public Criteria andProTypeNotLike(String value) {
            addCriterion("pro_type not like", value, "proType");
            return (Criteria) this;
        }

        public Criteria andProTypeIn(List<String> values) {
            addCriterion("pro_type in", values, "proType");
            return (Criteria) this;
        }

        public Criteria andProTypeNotIn(List<String> values) {
            addCriterion("pro_type not in", values, "proType");
            return (Criteria) this;
        }

        public Criteria andProTypeBetween(String value1, String value2) {
            addCriterion("pro_type between", value1, value2, "proType");
            return (Criteria) this;
        }

        public Criteria andProTypeNotBetween(String value1, String value2) {
            addCriterion("pro_type not between", value1, value2, "proType");
            return (Criteria) this;
        }

        public Criteria andProQtyIsNull() {
            addCriterion("pro_qty is null");
            return (Criteria) this;
        }

        public Criteria andProQtyIsNotNull() {
            addCriterion("pro_qty is not null");
            return (Criteria) this;
        }

        public Criteria andProQtyEqualTo(Integer value) {
            addCriterion("pro_qty =", value, "proQty");
            return (Criteria) this;
        }

        public Criteria andProQtyNotEqualTo(Integer value) {
            addCriterion("pro_qty <>", value, "proQty");
            return (Criteria) this;
        }

        public Criteria andProQtyGreaterThan(Integer value) {
            addCriterion("pro_qty >", value, "proQty");
            return (Criteria) this;
        }

        public Criteria andProQtyGreaterThanOrEqualTo(Integer value) {
            addCriterion("pro_qty >=", value, "proQty");
            return (Criteria) this;
        }

        public Criteria andProQtyLessThan(Integer value) {
            addCriterion("pro_qty <", value, "proQty");
            return (Criteria) this;
        }

        public Criteria andProQtyLessThanOrEqualTo(Integer value) {
            addCriterion("pro_qty <=", value, "proQty");
            return (Criteria) this;
        }

        public Criteria andProQtyIn(List<Integer> values) {
            addCriterion("pro_qty in", values, "proQty");
            return (Criteria) this;
        }

        public Criteria andProQtyNotIn(List<Integer> values) {
            addCriterion("pro_qty not in", values, "proQty");
            return (Criteria) this;
        }

        public Criteria andProQtyBetween(Integer value1, Integer value2) {
            addCriterion("pro_qty between", value1, value2, "proQty");
            return (Criteria) this;
        }

        public Criteria andProQtyNotBetween(Integer value1, Integer value2) {
            addCriterion("pro_qty not between", value1, value2, "proQty");
            return (Criteria) this;
        }

        public Criteria andProUnitIsNull() {
            addCriterion("pro_unit is null");
            return (Criteria) this;
        }

        public Criteria andProUnitIsNotNull() {
            addCriterion("pro_unit is not null");
            return (Criteria) this;
        }

        public Criteria andProUnitEqualTo(String value) {
            addCriterion("pro_unit =", value, "proUnit");
            return (Criteria) this;
        }

        public Criteria andProUnitNotEqualTo(String value) {
            addCriterion("pro_unit <>", value, "proUnit");
            return (Criteria) this;
        }

        public Criteria andProUnitGreaterThan(String value) {
            addCriterion("pro_unit >", value, "proUnit");
            return (Criteria) this;
        }

        public Criteria andProUnitGreaterThanOrEqualTo(String value) {
            addCriterion("pro_unit >=", value, "proUnit");
            return (Criteria) this;
        }

        public Criteria andProUnitLessThan(String value) {
            addCriterion("pro_unit <", value, "proUnit");
            return (Criteria) this;
        }

        public Criteria andProUnitLessThanOrEqualTo(String value) {
            addCriterion("pro_unit <=", value, "proUnit");
            return (Criteria) this;
        }

        public Criteria andProUnitLike(String value) {
            addCriterion("pro_unit like", value, "proUnit");
            return (Criteria) this;
        }

        public Criteria andProUnitNotLike(String value) {
            addCriterion("pro_unit not like", value, "proUnit");
            return (Criteria) this;
        }

        public Criteria andProUnitIn(List<String> values) {
            addCriterion("pro_unit in", values, "proUnit");
            return (Criteria) this;
        }

        public Criteria andProUnitNotIn(List<String> values) {
            addCriterion("pro_unit not in", values, "proUnit");
            return (Criteria) this;
        }

        public Criteria andProUnitBetween(String value1, String value2) {
            addCriterion("pro_unit between", value1, value2, "proUnit");
            return (Criteria) this;
        }

        public Criteria andProUnitNotBetween(String value1, String value2) {
            addCriterion("pro_unit not between", value1, value2, "proUnit");
            return (Criteria) this;
        }

        public Criteria andUnitPriceIsNull() {
            addCriterion("unit_price is null");
            return (Criteria) this;
        }

        public Criteria andUnitPriceIsNotNull() {
            addCriterion("unit_price is not null");
            return (Criteria) this;
        }

        public Criteria andUnitPriceEqualTo(BigDecimal value) {
            addCriterion("unit_price =", value, "unitPrice");
            return (Criteria) this;
        }

        public Criteria andUnitPriceNotEqualTo(BigDecimal value) {
            addCriterion("unit_price <>", value, "unitPrice");
            return (Criteria) this;
        }

        public Criteria andUnitPriceGreaterThan(BigDecimal value) {
            addCriterion("unit_price >", value, "unitPrice");
            return (Criteria) this;
        }

        public Criteria andUnitPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("unit_price >=", value, "unitPrice");
            return (Criteria) this;
        }

        public Criteria andUnitPriceLessThan(BigDecimal value) {
            addCriterion("unit_price <", value, "unitPrice");
            return (Criteria) this;
        }

        public Criteria andUnitPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("unit_price <=", value, "unitPrice");
            return (Criteria) this;
        }

        public Criteria andUnitPriceIn(List<BigDecimal> values) {
            addCriterion("unit_price in", values, "unitPrice");
            return (Criteria) this;
        }

        public Criteria andUnitPriceNotIn(List<BigDecimal> values) {
            addCriterion("unit_price not in", values, "unitPrice");
            return (Criteria) this;
        }

        public Criteria andUnitPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("unit_price between", value1, value2, "unitPrice");
            return (Criteria) this;
        }

        public Criteria andUnitPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("unit_price not between", value1, value2, "unitPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceIsNull() {
            addCriterion("total_price is null");
            return (Criteria) this;
        }

        public Criteria andTotalPriceIsNotNull() {
            addCriterion("total_price is not null");
            return (Criteria) this;
        }

        public Criteria andTotalPriceEqualTo(BigDecimal value) {
            addCriterion("total_price =", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceNotEqualTo(BigDecimal value) {
            addCriterion("total_price <>", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceGreaterThan(BigDecimal value) {
            addCriterion("total_price >", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("total_price >=", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceLessThan(BigDecimal value) {
            addCriterion("total_price <", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("total_price <=", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceIn(List<BigDecimal> values) {
            addCriterion("total_price in", values, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceNotIn(List<BigDecimal> values) {
            addCriterion("total_price not in", values, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_price between", value1, value2, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_price not between", value1, value2, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTaxRateIsNull() {
            addCriterion("tax_rate is null");
            return (Criteria) this;
        }

        public Criteria andTaxRateIsNotNull() {
            addCriterion("tax_rate is not null");
            return (Criteria) this;
        }

        public Criteria andTaxRateEqualTo(BigDecimal value) {
            addCriterion("tax_rate =", value, "taxRate");
            return (Criteria) this;
        }

        public Criteria andTaxRateNotEqualTo(BigDecimal value) {
            addCriterion("tax_rate <>", value, "taxRate");
            return (Criteria) this;
        }

        public Criteria andTaxRateGreaterThan(BigDecimal value) {
            addCriterion("tax_rate >", value, "taxRate");
            return (Criteria) this;
        }

        public Criteria andTaxRateGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("tax_rate >=", value, "taxRate");
            return (Criteria) this;
        }

        public Criteria andTaxRateLessThan(BigDecimal value) {
            addCriterion("tax_rate <", value, "taxRate");
            return (Criteria) this;
        }

        public Criteria andTaxRateLessThanOrEqualTo(BigDecimal value) {
            addCriterion("tax_rate <=", value, "taxRate");
            return (Criteria) this;
        }

        public Criteria andTaxRateIn(List<BigDecimal> values) {
            addCriterion("tax_rate in", values, "taxRate");
            return (Criteria) this;
        }

        public Criteria andTaxRateNotIn(List<BigDecimal> values) {
            addCriterion("tax_rate not in", values, "taxRate");
            return (Criteria) this;
        }

        public Criteria andTaxRateBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("tax_rate between", value1, value2, "taxRate");
            return (Criteria) this;
        }

        public Criteria andTaxRateNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("tax_rate not between", value1, value2, "taxRate");
            return (Criteria) this;
        }

        public Criteria andTaxAmountIsNull() {
            addCriterion("tax_amount is null");
            return (Criteria) this;
        }

        public Criteria andTaxAmountIsNotNull() {
            addCriterion("tax_amount is not null");
            return (Criteria) this;
        }

        public Criteria andTaxAmountEqualTo(BigDecimal value) {
            addCriterion("tax_amount =", value, "taxAmount");
            return (Criteria) this;
        }

        public Criteria andTaxAmountNotEqualTo(BigDecimal value) {
            addCriterion("tax_amount <>", value, "taxAmount");
            return (Criteria) this;
        }

        public Criteria andTaxAmountGreaterThan(BigDecimal value) {
            addCriterion("tax_amount >", value, "taxAmount");
            return (Criteria) this;
        }

        public Criteria andTaxAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("tax_amount >=", value, "taxAmount");
            return (Criteria) this;
        }

        public Criteria andTaxAmountLessThan(BigDecimal value) {
            addCriterion("tax_amount <", value, "taxAmount");
            return (Criteria) this;
        }

        public Criteria andTaxAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("tax_amount <=", value, "taxAmount");
            return (Criteria) this;
        }

        public Criteria andTaxAmountIn(List<BigDecimal> values) {
            addCriterion("tax_amount in", values, "taxAmount");
            return (Criteria) this;
        }

        public Criteria andTaxAmountNotIn(List<BigDecimal> values) {
            addCriterion("tax_amount not in", values, "taxAmount");
            return (Criteria) this;
        }

        public Criteria andTaxAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("tax_amount between", value1, value2, "taxAmount");
            return (Criteria) this;
        }

        public Criteria andTaxAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("tax_amount not between", value1, value2, "taxAmount");
            return (Criteria) this;
        }

        public Criteria andUnitPriceTaxIncludedIsNull() {
            addCriterion("unit_price_tax_included is null");
            return (Criteria) this;
        }

        public Criteria andUnitPriceTaxIncludedIsNotNull() {
            addCriterion("unit_price_tax_included is not null");
            return (Criteria) this;
        }

        public Criteria andUnitPriceTaxIncludedEqualTo(BigDecimal value) {
            addCriterion("unit_price_tax_included =", value, "unitPriceTaxIncluded");
            return (Criteria) this;
        }

        public Criteria andUnitPriceTaxIncludedNotEqualTo(BigDecimal value) {
            addCriterion("unit_price_tax_included <>", value, "unitPriceTaxIncluded");
            return (Criteria) this;
        }

        public Criteria andUnitPriceTaxIncludedGreaterThan(BigDecimal value) {
            addCriterion("unit_price_tax_included >", value, "unitPriceTaxIncluded");
            return (Criteria) this;
        }

        public Criteria andUnitPriceTaxIncludedGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("unit_price_tax_included >=", value, "unitPriceTaxIncluded");
            return (Criteria) this;
        }

        public Criteria andUnitPriceTaxIncludedLessThan(BigDecimal value) {
            addCriterion("unit_price_tax_included <", value, "unitPriceTaxIncluded");
            return (Criteria) this;
        }

        public Criteria andUnitPriceTaxIncludedLessThanOrEqualTo(BigDecimal value) {
            addCriterion("unit_price_tax_included <=", value, "unitPriceTaxIncluded");
            return (Criteria) this;
        }

        public Criteria andUnitPriceTaxIncludedIn(List<BigDecimal> values) {
            addCriterion("unit_price_tax_included in", values, "unitPriceTaxIncluded");
            return (Criteria) this;
        }

        public Criteria andUnitPriceTaxIncludedNotIn(List<BigDecimal> values) {
            addCriterion("unit_price_tax_included not in", values, "unitPriceTaxIncluded");
            return (Criteria) this;
        }

        public Criteria andUnitPriceTaxIncludedBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("unit_price_tax_included between", value1, value2, "unitPriceTaxIncluded");
            return (Criteria) this;
        }

        public Criteria andUnitPriceTaxIncludedNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("unit_price_tax_included not between", value1, value2, "unitPriceTaxIncluded");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andQttAvaStatusIsNull() {
            addCriterion("qtt_ava_status is null");
            return (Criteria) this;
        }

        public Criteria andQttAvaStatusIsNotNull() {
            addCriterion("qtt_ava_status is not null");
            return (Criteria) this;
        }

        public Criteria andQttAvaStatusEqualTo(Integer value) {
            addCriterion("qtt_ava_status =", value, "qttAvaStatus");
            return (Criteria) this;
        }

        public Criteria andQttAvaStatusNotEqualTo(Integer value) {
            addCriterion("qtt_ava_status <>", value, "qttAvaStatus");
            return (Criteria) this;
        }

        public Criteria andQttAvaStatusGreaterThan(Integer value) {
            addCriterion("qtt_ava_status >", value, "qttAvaStatus");
            return (Criteria) this;
        }

        public Criteria andQttAvaStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("qtt_ava_status >=", value, "qttAvaStatus");
            return (Criteria) this;
        }

        public Criteria andQttAvaStatusLessThan(Integer value) {
            addCriterion("qtt_ava_status <", value, "qttAvaStatus");
            return (Criteria) this;
        }

        public Criteria andQttAvaStatusLessThanOrEqualTo(Integer value) {
            addCriterion("qtt_ava_status <=", value, "qttAvaStatus");
            return (Criteria) this;
        }

        public Criteria andQttAvaStatusIn(List<Integer> values) {
            addCriterion("qtt_ava_status in", values, "qttAvaStatus");
            return (Criteria) this;
        }

        public Criteria andQttAvaStatusNotIn(List<Integer> values) {
            addCriterion("qtt_ava_status not in", values, "qttAvaStatus");
            return (Criteria) this;
        }

        public Criteria andQttAvaStatusBetween(Integer value1, Integer value2) {
            addCriterion("qtt_ava_status between", value1, value2, "qttAvaStatus");
            return (Criteria) this;
        }

        public Criteria andQttAvaStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("qtt_ava_status not between", value1, value2, "qttAvaStatus");
            return (Criteria) this;
        }

        public Criteria andTotalPriceTaxIncludedIsNull() {
            addCriterion("total_price_tax_included is null");
            return (Criteria) this;
        }

        public Criteria andTotalPriceTaxIncludedIsNotNull() {
            addCriterion("total_price_tax_included is not null");
            return (Criteria) this;
        }

        public Criteria andTotalPriceTaxIncludedEqualTo(BigDecimal value) {
            addCriterion("total_price_tax_included =", value, "totalPriceTaxIncluded");
            return (Criteria) this;
        }

        public Criteria andTotalPriceTaxIncludedNotEqualTo(BigDecimal value) {
            addCriterion("total_price_tax_included <>", value, "totalPriceTaxIncluded");
            return (Criteria) this;
        }

        public Criteria andTotalPriceTaxIncludedGreaterThan(BigDecimal value) {
            addCriterion("total_price_tax_included >", value, "totalPriceTaxIncluded");
            return (Criteria) this;
        }

        public Criteria andTotalPriceTaxIncludedGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("total_price_tax_included >=", value, "totalPriceTaxIncluded");
            return (Criteria) this;
        }

        public Criteria andTotalPriceTaxIncludedLessThan(BigDecimal value) {
            addCriterion("total_price_tax_included <", value, "totalPriceTaxIncluded");
            return (Criteria) this;
        }

        public Criteria andTotalPriceTaxIncludedLessThanOrEqualTo(BigDecimal value) {
            addCriterion("total_price_tax_included <=", value, "totalPriceTaxIncluded");
            return (Criteria) this;
        }

        public Criteria andTotalPriceTaxIncludedIn(List<BigDecimal> values) {
            addCriterion("total_price_tax_included in", values, "totalPriceTaxIncluded");
            return (Criteria) this;
        }

        public Criteria andTotalPriceTaxIncludedNotIn(List<BigDecimal> values) {
            addCriterion("total_price_tax_included not in", values, "totalPriceTaxIncluded");
            return (Criteria) this;
        }

        public Criteria andTotalPriceTaxIncludedBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_price_tax_included between", value1, value2, "totalPriceTaxIncluded");
            return (Criteria) this;
        }

        public Criteria andTotalPriceTaxIncludedNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_price_tax_included not between", value1, value2, "totalPriceTaxIncluded");
            return (Criteria) this;
        }

        public Criteria andProCodeIsNull() {
            addCriterion("pro_code is null");
            return (Criteria) this;
        }

        public Criteria andProCodeIsNotNull() {
            addCriterion("pro_code is not null");
            return (Criteria) this;
        }

        public Criteria andProCodeEqualTo(String value) {
            addCriterion("pro_code =", value, "proCode");
            return (Criteria) this;
        }

        public Criteria andProCodeNotEqualTo(String value) {
            addCriterion("pro_code <>", value, "proCode");
            return (Criteria) this;
        }

        public Criteria andProCodeGreaterThan(String value) {
            addCriterion("pro_code >", value, "proCode");
            return (Criteria) this;
        }

        public Criteria andProCodeGreaterThanOrEqualTo(String value) {
            addCriterion("pro_code >=", value, "proCode");
            return (Criteria) this;
        }

        public Criteria andProCodeLessThan(String value) {
            addCriterion("pro_code <", value, "proCode");
            return (Criteria) this;
        }

        public Criteria andProCodeLessThanOrEqualTo(String value) {
            addCriterion("pro_code <=", value, "proCode");
            return (Criteria) this;
        }

        public Criteria andProCodeLike(String value) {
            addCriterion("pro_code like", value, "proCode");
            return (Criteria) this;
        }

        public Criteria andProCodeNotLike(String value) {
            addCriterion("pro_code not like", value, "proCode");
            return (Criteria) this;
        }

        public Criteria andProCodeIn(List<String> values) {
            addCriterion("pro_code in", values, "proCode");
            return (Criteria) this;
        }

        public Criteria andProCodeNotIn(List<String> values) {
            addCriterion("pro_code not in", values, "proCode");
            return (Criteria) this;
        }

        public Criteria andProCodeBetween(String value1, String value2) {
            addCriterion("pro_code between", value1, value2, "proCode");
            return (Criteria) this;
        }

        public Criteria andProCodeNotBetween(String value1, String value2) {
            addCriterion("pro_code not between", value1, value2, "proCode");
            return (Criteria) this;
        }

        public Criteria andProNamesIsNull() {
            addCriterion("pro_names is null");
            return (Criteria) this;
        }

        public Criteria andProNamesIsNotNull() {
            addCriterion("pro_names is not null");
            return (Criteria) this;
        }

        public Criteria andProNamesEqualTo(String value) {
            addCriterion("pro_names =", value, "proNames");
            return (Criteria) this;
        }

        public Criteria andProNamesNotEqualTo(String value) {
            addCriterion("pro_names <>", value, "proNames");
            return (Criteria) this;
        }

        public Criteria andProNamesGreaterThan(String value) {
            addCriterion("pro_names >", value, "proNames");
            return (Criteria) this;
        }

        public Criteria andProNamesGreaterThanOrEqualTo(String value) {
            addCriterion("pro_names >=", value, "proNames");
            return (Criteria) this;
        }

        public Criteria andProNamesLessThan(String value) {
            addCriterion("pro_names <", value, "proNames");
            return (Criteria) this;
        }

        public Criteria andProNamesLessThanOrEqualTo(String value) {
            addCriterion("pro_names <=", value, "proNames");
            return (Criteria) this;
        }

        public Criteria andProNamesLike(String value) {
            addCriterion("pro_names like", value, "proNames");
            return (Criteria) this;
        }

        public Criteria andProNamesNotLike(String value) {
            addCriterion("pro_names not like", value, "proNames");
            return (Criteria) this;
        }

        public Criteria andProNamesIn(List<String> values) {
            addCriterion("pro_names in", values, "proNames");
            return (Criteria) this;
        }

        public Criteria andProNamesNotIn(List<String> values) {
            addCriterion("pro_names not in", values, "proNames");
            return (Criteria) this;
        }

        public Criteria andProNamesBetween(String value1, String value2) {
            addCriterion("pro_names between", value1, value2, "proNames");
            return (Criteria) this;
        }

        public Criteria andProNamesNotBetween(String value1, String value2) {
            addCriterion("pro_names not between", value1, value2, "proNames");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}